<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            购买人ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="buy_user" type="text" value="{$data['buy_user']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            发布服务人id
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="issue_id" type="text" value="{$data['issue_id']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            服务ID
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="foreign_key" type="text" value="{$data['foreign_key']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            服务方式   1：有偿  2：无偿
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="service_type" type="text" value="{$data['service_type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            内部订单号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="order_no" type="text" value="{$data['order_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            交易号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="tran_no" type="text" value="{$data['tran_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付金额
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="price" type="text" value="{$data['price']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付方式  0：余额  1：微信  2：支付宝
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="pay_type" type="text" value="{$data['pay_type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            支付时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="pay_time" type="text" value="{$data['pay_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            状态  0：未支付  1：已支付 2:已完成 3：已评价
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="status" type="text" value="{$data['status']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            是否打赏  0：未打赏  1：已打赏
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="dashang" type="text" value="{$data['dashang']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            打赏金额
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="ds_price" type="text" value="{$data['ds_price']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            打赏订单编号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="ds_order_no" type="text" value="{$data['ds_order_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            打赏-交易号
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="ds_tran_no" type="text" value="{$data['ds_tran_no']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            打赏-支付方式    0：余额  1：微信  2：支付宝
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required" name="ds_pay_type" type="text" value="{$data['ds_pay_type']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            打赏时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="ds_pay_time" type="text" value="{$data['ds_pay_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            确认完成时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="finish_time" type="text" value="{$data['finish_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">
            下单时间
        </label>
        <div class="layui-input-block">
            <input autocomplete="off" class="layui-input" lay-verify="required|number" name="add_time" type="text" value="{$data['add_time']}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
